/*
 profilemngtTest.h
 Date Created: February 21, 2010
 
 Author: Karol Krizka <kkrizka@gmail.com>
 
 Copyright (C) 2010 Green-Power
 
 URL: http://code.google.com/p/green-power
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 3 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 $Id$
 */

#define USE_APPLICATION_UNIT_TEST 0

#import <SenTestingKit/SenTestingKit.h>
#import <UIKit/UIKit.h>


@interface profilemngtTest : SenTestCase {
}

#if USE_APPLICATION_UNIT_TEST
- (void) testAppDelegate;       // simple test on application
#else
- (void) testProfileCreation;
- (void) testProfileNameUniqueness;
- (void) testProfileNameValidity;
#endif

/**
 * Helper function that runs unit tests on |profileName|'s validity. Fails if
 * the name is not valid.
 * Note: Setup and cleans up Core Data stack
 *
 * \param profileName The name to check for validity
 */
- (void)profileNameShouldBeValid:(NSString *)profileName;

/**
 * Helper function that runs unit tests on |profileName|'s validity. Fails if
 * the name is valid.
 * Note: Setup and cleans up Core Data stack
 *
 * \param profileName The name to check for validity
 */
- (void)profileNameShouldNotBeValid:(NSString *)profileName;
  
@end
